{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"children\", \"component\", \"components\", \"componentsProps\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport composeClasses from '../composeClasses';\nimport { useSlotProps } from '../utils';\nimport { getTabsListUnstyledUtilityClass } from './tabsListUnstyledClasses';\nimport useTabsList from './useTabsList';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n  const {\n    orientation\n  } = ownerState;\n  const slots = {\n    root: ['root', orientation]\n  };\n  return composeClasses(slots, getTabsListUnstyledUtilityClass, {});\n};\n/**\n *\n * Demos:\n *\n * - [Unstyled Tabs](https://mui.com/base/react-tabs/)\n *\n * API:\n *\n * - [TabsListUnstyled API](https://mui.com/base/api/tabs-list-unstyled/)\n */\n\nconst TabsListUnstyled = /*#__PURE__*/React.forwardRef((props, ref) => {\n  var _ref;\n  const {\n      component,\n      components = {},\n      componentsProps = {}\n    } = props,\n    other = _objectWithoutPropertiesLoose(props, _excluded);\n  const {\n    isRtl,\n    orientation,\n    getRootProps,\n    processChildren\n  } = useTabsList(_extends({}, props, {\n    ref\n  }));\n  const ownerState = _extends({}, props, {\n    isRtl,\n    orientation\n  });\n  const classes = useUtilityClasses(ownerState);\n  const TabsListRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'div';\n  const tabsListRootProps = useSlotProps({\n    elementType: TabsListRoot,\n    getSlotProps: getRootProps,\n    externalSlotProps: componentsProps.root,\n    externalForwardedProps: other,\n    ownerState,\n    className: classes.root\n  });\n  const processedChildren = processChildren();\n  return /*#__PURE__*/_jsx(TabsListRoot, _extends({}, tabsListRootProps, {\n    children: processedChildren\n  }));\n});\nprocess.env.NODE_ENV !== \"production\" ? TabsListUnstyled.propTypes\n/* remove-proptypes */ = {\n  // ----------------------------- Warning --------------------------------\n  // | These PropTypes are generated from the TypeScript type definitions |\n  // |     To update them edit TypeScript types and run \"yarn proptypes\"  |\n  // ----------------------------------------------------------------------\n\n  /**\n   * The content of the component.\n   */\n  children: PropTypes.node,\n  /**\n   * The component used for the root node.\n   * Either a string to use a HTML element or a component.\n   */\n  component: PropTypes.elementType,\n  /**\n   * The components used for each slot inside the TabsList.\n   * Either a string to use a HTML element or a component.\n   * @default {}\n   */\n  components: PropTypes.shape({\n    Root: PropTypes.elementType\n  }),\n  /**\n   * The props used for each slot inside the TabsList.\n   * @default {}\n   */\n  componentsProps: PropTypes.shape({\n    root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n  })\n} : void 0;\nexport default TabsListUnstyled;","map":{"version":3,"names":["_extends","_objectWithoutPropertiesLoose","_excluded","React","PropTypes","composeClasses","useSlotProps","getTabsListUnstyledUtilityClass","useTabsList","jsx","_jsx","useUtilityClasses","ownerState","orientation","slots","root","TabsListUnstyled","forwardRef","props","ref","_ref","component","components","componentsProps","other","isRtl","getRootProps","processChildren","classes","TabsListRoot","Root","tabsListRootProps","elementType","getSlotProps","externalSlotProps","externalForwardedProps","className","processedChildren","children","process","env","NODE_ENV","propTypes","node","shape","oneOfType","func","object"],"sources":["/data/messenger.client/node_modules/@mui/base/TabsListUnstyled/TabsListUnstyled.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"children\", \"component\", \"components\", \"componentsProps\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport composeClasses from '../composeClasses';\nimport { useSlotProps } from '../utils';\nimport { getTabsListUnstyledUtilityClass } from './tabsListUnstyledClasses';\nimport useTabsList from './useTabsList';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n\nconst useUtilityClasses = ownerState => {\n  const {\n    orientation\n  } = ownerState;\n  const slots = {\n    root: ['root', orientation]\n  };\n  return composeClasses(slots, getTabsListUnstyledUtilityClass, {});\n};\n/**\n *\n * Demos:\n *\n * - [Unstyled Tabs](https://mui.com/base/react-tabs/)\n *\n * API:\n *\n * - [TabsListUnstyled API](https://mui.com/base/api/tabs-list-unstyled/)\n */\n\n\nconst TabsListUnstyled = /*#__PURE__*/React.forwardRef((props, ref) => {\n  var _ref;\n\n  const {\n    component,\n    components = {},\n    componentsProps = {}\n  } = props,\n        other = _objectWithoutPropertiesLoose(props, _excluded);\n\n  const {\n    isRtl,\n    orientation,\n    getRootProps,\n    processChildren\n  } = useTabsList(_extends({}, props, {\n    ref\n  }));\n\n  const ownerState = _extends({}, props, {\n    isRtl,\n    orientation\n  });\n\n  const classes = useUtilityClasses(ownerState);\n  const TabsListRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'div';\n  const tabsListRootProps = useSlotProps({\n    elementType: TabsListRoot,\n    getSlotProps: getRootProps,\n    externalSlotProps: componentsProps.root,\n    externalForwardedProps: other,\n    ownerState,\n    className: classes.root\n  });\n  const processedChildren = processChildren();\n  return /*#__PURE__*/_jsx(TabsListRoot, _extends({}, tabsListRootProps, {\n    children: processedChildren\n  }));\n});\nprocess.env.NODE_ENV !== \"production\" ? TabsListUnstyled.propTypes\n/* remove-proptypes */\n= {\n  // ----------------------------- Warning --------------------------------\n  // | These PropTypes are generated from the TypeScript type definitions |\n  // |     To update them edit TypeScript types and run \"yarn proptypes\"  |\n  // ----------------------------------------------------------------------\n\n  /**\n   * The content of the component.\n   */\n  children: PropTypes.node,\n\n  /**\n   * The component used for the root node.\n   * Either a string to use a HTML element or a component.\n   */\n  component: PropTypes.elementType,\n\n  /**\n   * The components used for each slot inside the TabsList.\n   * Either a string to use a HTML element or a component.\n   * @default {}\n   */\n  components: PropTypes.shape({\n    Root: PropTypes.elementType\n  }),\n\n  /**\n   * The props used for each slot inside the TabsList.\n   * @default {}\n   */\n  componentsProps: PropTypes.shape({\n    root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n  })\n} : void 0;\nexport default TabsListUnstyled;"],"mappings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